﻿using System;
using System.Collections.Generic;
using System.Linq;
using ExpenseSystem.Common.BaseModel;
using ExpenseSystem.Fether;
using ExpenseSystem.Model;
using ExpenseSystem.Lor;

namespace ExpenseSystem.Fether
{
    public interface IDetailFetcher<T> where T: NormalModel,new()
    {
        IList<T> ListByMainId( long site, long mainId, out string message,out int rows);
    }
    public interface IDetailSystemFetcher<T> where T : SystemModel, new()
    {
        IList<T> ListByMainId(long mainId, out string message,out int rows);
    }
}
